package com.system.common.dao.purview;

import com.system.common.entity.purview.RolePurview;
import com.system.common.entity.purview.RolePurviewExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RolePurviewMapper {
    /**
     *
     * @mbg.generated 2020-03-02
     */
    long countByExample(RolePurviewExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int deleteByExample(RolePurviewExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int insert(RolePurview record);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int insertSelective(RolePurview record);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    List<RolePurview> selectByExample(RolePurviewExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int updateByExampleSelective(@Param("record") RolePurview record, @Param("example") RolePurviewExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int updateByExample(@Param("record") RolePurview record, @Param("example") RolePurviewExample example);
}